# Maintainer:

_pkgname=volatile
pkgname=python-volatile
pkgver=2.1.0
pkgrel=4
pkgdesc="A small extension for the tempfile module"
arch=('any')
url="https://github.com/mbr/volatile"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('9be36ad508e3354e016c115de0397dc2203b9800a73d9d177ca9d37a8d3a31d3')
b2sums=('b68e31de831cfdf1aad2ec0d65023c58ed8730e6e8e720bb074b0201f1f7e438d82d4acf1d74227b493c1f05b22ce3981197a2f798e5ff7fe7d1f4e6c08ee60f')

build(){
    cd $_pkgname-$pkgver

    python setup.py build
}

package() {
    cd $_pkgname-$pkgver

    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
